home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-03 / bitcat.zip / README.DOC < prev   
Text File  |  1992-10-07  |  2KB  |  42 lines

  1.  
  2.  The files included are meant to help you start a bitmap catalog program in
  3. Visual Basic for Windows. The code included will search the current directory
  4. for .BMP and .RLE files and will then resize the graphic file to 50X50 using
  5. the StretchBlt function and then place it and its filename in the window.
  6.  
  7.  There can be up to 60 files onscreen at once, if there are more then you 
  8. can use the scroll bar to scroll through them. The program is currently 
  9. limited to about 160 files in a single directory but it can be easily modified
  10. to handle as many as you want. 
  11.  
  12.  The code is commented in certain places to help you obtain an idea of what
  13. is happening throughout the program. The main code for the loading of the
  14. graphics files in in the File1_PathChange command.
  15.  
  16.  The routine I use is similar to the one I used in a shareware program I have
  17. written called Icon VuMaster Pro 2.10, which means that you can change the
  18. File1.Pattern to include .ICO files and they will be displayed.
  19.  
  20.  One thing to remember is that you must keep the Autoredraw property to TRUE
  21. for the ability to scroll down the picture box, otherwise the pictures would
  22. not show up below the current window.
  23.  
  24.  The potential for a great program is in this code, so look at it good and 
  25. maybe you can come up with the right way to use it. 
  26.  
  27.  Those of you who have access to a good reference to the Windows API calls
  28. should really look around for some good functions, I have found many new
  29. ones since obtaining the WINSDK.HLP file with VB Pro. Toolkit. You may also
  30. want to check out the BitBlt command in a reference, it can do some great
  31. animation if used properly.
  32.  
  33.  If you use this code and write a pretty good program from it then please 
  34. send me a letter or call me and let me know. You can also send me a message
  35. on EXEC-PC BBS if you have a membership.
  36.  
  37. Sean Bishop (Shortdog Inc.)
  38. 241 Eversole St.
  39. Hazard, KY 41701
  40. (606) 439-0609
  41.  
  42.